﻿using Common;
using DAL.CodeManage;
using Model.CodeManage;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL.CodeManage
{
    public class GenCodeBatchBLL
    {
        GenCodeBatchDAL batchDal = new GenCodeBatchDAL();
        public ResultEntity AddPatch(GenCodeBatch model)
        {
            return batchDal.AddPatch(model);
        }
        public GenCodeBatch getModel(int id)
        {
            return batchDal.getModel(id);
        }
        public DataTable queryCode(string tabName, string fieldName)
        {
            return batchDal.queryCode(tabName, fieldName);
        }
    }
}
